package cn.edu.scau.cmi.yangqing.composite_consistency;
	
import cn.edu.scau.cmi.yangqing.composite_safe.Composite;
import cn.edu.scau.cmi.yangqing.composite_safe.UnitedNations;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;


public class Main extends Application {
	@Override
	public void start(Stage primaryStage) {
		try {
            // Read file fxml and draw interface.
            Parent root = FXMLLoader.load(getClass()
                    .getResource("/cn/edu/scau/cmi/yangqing/composite_consistency/Myscene.fxml"));
            primaryStage.setTitle("实验五、一致性组合模式");
            primaryStage.setScene(new Scene(root));
            primaryStage.show();

        } catch(Exception e) {
            e.printStackTrace();
        }
	}
	
	public static void main(String[] args) {
	
		launch(args);
	}
}
